Companion¶
object Companion
Functions¶
of¶
fun of(value: UInt): GPUPowerPreference?
Retrieves the corresponding [`UInt`](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-u-int/index.html) for the given value.
**Return**
The matching [`UInt`](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-u-int/index.html) or `null` if no match is found.
**Parameters**
- value: The dependent platform value representing the WebGPU value.